home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiniExamples / AppKit / PaginationLab / MyPrintInfo.m < prev    next >
Text File  |  1995-06-12  |  610b  |  30 lines

  1. /* MyPageLayout.m
  2.  * Purpose: A very simple subclass of PrintInfo that adds a flag describing
  3.  * how the application's views should assist in pagination while printing.
  4.  *
  5.  * You may freely copy, distribute, and reuse the code in this example.
  6.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  7.  * fitness for any particular use.
  8.  *
  9.  * Written by: Samuel Streeper
  10.  * Created: (04/April/91)
  11.  */
  12.  
  13. #import "MyPrintInfo.h"
  14.  
  15. @implementation MyPrintInfo
  16.  
  17. - setPaginationMode:(int)status
  18. {
  19.     paginationMode = status;
  20.     return self;
  21. }
  22.  
  23. - (int) paginationMode
  24. {
  25.     return paginationMode;
  26. }
  27.  
  28.  
  29. @end
  30.